package xd.ylwy.indicators.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xd.ylwy.indicators.entity.Average;
import xd.ylwy.indicators.entity.TbIndicators;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import xd.ylwy.indicators.entity.WarningStudent;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xd
 * @since 2022-09-23
 *
 */
@Mapper
public interface TbIndicatorsMapper extends BaseMapper<TbIndicators> {
    List<Map<String, Object>>warningFaculty();

    List<Map<String, Object>>warningGrade();

    List<Map<String, Object>>warningIntervene();

    Average average();

    Float warningStudentNum();

    Float interveneStudentNum();

    Float studentNum();

    TbIndicators selectByID(String id);


    Boolean updateText(TbIndicators tbIndicators);

    List<WarningStudent> warningStudent();
}
